<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="utf-8">
    <title>Hello World!</title>
</head>
<body>
<b>普通文本 String 展示：</b><br><br>
Hello ${name} <br>
<hr>
<b>对象Student中的数据展示：</b><br/>
姓名：${stu.name}<br/>
年龄：${stu.age}
<hr>
<table>

    <tr>
        <td>序号</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>余额</td>
    </tr>
    <#list stus as stu>
    ${stu}
    <#if stu.name=='张三'>
    <tr>
        <td>${stu_index+1}</td>
        <td>${stu.name}</td>
        <td>${stu.age}</td>
        <td>${stu.money}</td>
    </tr>

    <#else>

    <tr>
        <td>${stu_index+1}</td>
        <td>${stu.name}</td>
        <td>${stu.age}</td>
        <td>${stu.money}</td>
    </tr>
    </#if>



</#list>

</table>
<br>
<hr>
姓名：${stuMaps['张三'].name}
年龄：${stuMaps['张三'].age}

余额：${stuMaps.张三.money}
<#list stuMaps?keys as key>
key:${key} value:${stuMaps[key].age}<br>
</#list>

<hr>

${value!'108'}

${stus?size}
<br>
${day?date}<br>
${day?time}<br>
${day?datetime}<br>
${day?string("yyyy年MM月dd日")}<br>



</body>
</html>